<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
  {{info}}
  <p v-if="isShow">刘德华</p>
  <p v-else>张学友</p>
   <p v-show="isShow"> 黎明</p>
</div>
<script src="http://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
<script>
  let v=new Vue({
    el: "body>div",
    data: {
      info:"你",
      isShow:false,
    }
  })
</script>
</body>
</html>